#pragma once
#include "SamsungFreeCodecFilterConnection.h"
#include "VideoPlayerManager.h"

// GraphicsFullScreenVideo dialog

class GraphicsFullScreenVideo : public CDialog
{
	DECLARE_DYNAMIC(GraphicsFullScreenVideo)

public:
	GraphicsFullScreenVideo(CWnd* pParent = NULL);   // standard constructor
	virtual ~GraphicsFullScreenVideo();

	LONGLONG    m_currentPos;
	LONGLONG	m_length;
	CString		m_path;
	VideoPlayerManager		m_video;
	SamsungFreeCodecFilterConnection m_myCodec;
	LONGLONG GetSeekPos();
	virtual BOOL DestroyWindow();

	LONGLONG			ltime;
	IBasicAudio			*pAudio;
	HRESULT             hr;
	LONGLONG			m_seekPos;
	long				m_lVolume;

    
	// Add sub-title code
	bool IsSubtitleAvailable();
	CWnd *m_wnd;

// Dialog Data
	enum { IDD = IDD_FULL_VIDEO_SCREEN };

protected:

	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	
   
	DECLARE_MESSAGE_MAP()

//public:
	
	
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
    afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	void HandleEventGraph();
	afx_msg void OnClose();
	afx_msg void OnSize(UINT nType, int cx, int cy);
};
